home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 May
/
EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso
/
earcd
/
gfx
/
fract
/
lfracs.rea
< prev
next >
Wrap
Text File
|
1997-03-02
|
7KB
|
186 lines
Short: Fractal-generator for Line-Fractals v1.0
Author: welisch@kirk.fmi.uni-passau.de
Uploader: welisch@kirk.fmi.uni-passau.de
Type: gfx/fract
LFracs Version 1.0
Copyright © 1996 Alexander Welisch.
All rights reserved, FREEWARE.
DESCRIPTION:
LFracs is a program for drawing L-Fractals (Line-Fractals).
L-Fractals are fractals, that can be generated in the form of a string by
recursive expansion of a short origin code (in the following named
"Axiom"). After that this string can be translated into (drawed as) a pic-
ture.
For example: a = a[0] = "f-f++f-f" (string) <=> __/\__ (picture)
"f" means "draw a short line in the current direction"
"+" means "turn right for w=60 degrees"
"-" means "turn left for w=60 degrees"
If you replace each "f" in a with a itself, you'll have a new string:
a[1] = "f-f++f-f - f-f++f-f ++ f-f++f-f - f-f++f-f"
as a picture this would be:
__/\__
\ /
__/\__/ \__/\__
Again you can replace each "f" in a[1] with "f-f++f-f", and you'll get
a[2] = "f-f++f-f - f-f++f-f ++ f-f++f-f - f-f++f-f -
f-f++f-f - f-f++f-f ++ f-f++f-f - f-f++f-f ++
f-f++f-f - f-f++f-f ++ f-f++f-f - f-f++f-f -
f-f++f-f - f-f++f-f ++ f-f++f-f - f-f++f-f"
so
__/\__
\ /
__/\__/ \__/\__
\ /
/_ _\
\ /
__/\__ __/ \__ __/\__
\ / \ / \ /
__/\__/ \__/\__/ \__/\__/ \__/\__
In case you begin with another Axiom a, you'll get another picture
too.
Besides "f", "+" and "-" there are the special characters
"(" = "Save your present position"
")" = "Go back to the last saved position (without drawing the
path to it), then continue executing the command-string"
With the help of these special characters it's possible to ge-
nerate tree-like fractals too, e.g.:
a = a[0] = "f(ffx)(-ffx)+ffx" (Axiom)
f : "f" (means "replace 'f' by 'f'")
x : "f(ffx)(-ffx)+ffx" (replace each 'x' by 'f(ffx)(-ffx)+ffx')
a[0] as a picture (with start-angle 90°, turn-angle 30°):
\ | /
\|/
|
then is
a[1] = "f(ff f(ffx)(-ffx)+ffx )(-ff f(ffx)(-ffx)+ffx )+ff
f(ffx)(-ffx)+ffx"
and the picture:
\ |\ | /| /
___\| \|/ |/___
\ | /
\ | /
\|/
|
INSTALLATION:
LFracs consists of the following files and directories
(packed in the Lha-archive LFracs.lha):
LFracs (Dir) ____ LFracs (Program)
|
|__ Docs (Dir) ____ LF.deutsch.guide (German Documentation)
| |__ LF.english.guide (English Documentation)
|
|__ Catalogs (Dir) ____ deutsch (Dir) ____ LFracs.catalog
|
|__ FracsCodes (Dir) ____ Dragon.code (Data)
| |__ #?.code
| ...
|
|__ FracsPictures (Dir) ____ Dragon12.lfpic (Picture-data)
|__ #?.lfpic
...
LFracs.readme
LFracs-Source.lha
To install LFracs, simply unpack LFracs.lha in your prefered directory.
Then the directory LFracs and the other Files/Directories will be auto-
matically installed as you see above.
Of importance are the directories "FracsCodes" and "FracsPictures"; the
files "#?.code" and "#?.lfpic" are only example-files, they are not ne-
cessary for the correct functionality of LFracs.
The source-code is packed in LFracs-Source.lha (if you don't need it,
you can delete this file).
If you don't speak german, you can delete the Catalogs-Directory and
the LF.deutsch.guide.
COPYRIGHT:
LFracs is FREEWARE!
Permission is granted to make and distribute verbatim copies of LFracs, its
documentation and sources. The source is included in this package and may
be changed in any form for personal use. Such a changed version must NOT be
distributed.
Because LFracs is for free, there`s NO GUARANTEE for perfect functionality.
The author cannot be hold responsible for any loss or damage, that is
caused by the use of LFracs. You use LFracs at your own risk.
LFracs must not be selled; Only a copy-fee of not more than 4 $(US) is per-
mitted. Besides LFracs mustn't be distributed with other commercial pro-
ducts without permission of the author. LFracs may only be distributed if
the whole documentation is included and the package is unchanged with the
the source-code attached.
AUTHOR:
Please send comments, suggestions, error-reports, hymns of praise and money
to:
Alexander Welisch
Kolpingweg 15
94086 Griesbach
GERMANY
OR EMAIL: welisch@kirk.fmi.uni-passau.de
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
15662 15662 0.0% 08-Jan-97 23:10:46 LFracs-Source.lha
2273 554 75.6% 02-Jan-97 23:43:44 LFracs.info
5079 1977 61.0% 08-Jan-97 17:34:50 LFracs.readme
716 420 41.3% 23-Dec-96 19:18:04 +LFracs.catalog
2273 561 75.3% 03-Jan-97 01:08:16 +Docs.info
16083 6330 60.6% 08-Jan-97 21:27:28 +LF.deutsch.guide
854 336 60.6% 03-Jan-97 01:08:16 +LF.deutsch.guide.info
14965 5808 61.1% 08-Jan-97 21:27:28 +LF.english.guide
854 334 60.8% 03-Jan-97 01:08:16 +LF.english.guide.info
34 30 11.7% 02-Jan-97 23:44:38 +Branch.code
25 24 4.0% 02-Jan-97 23:44:36 +Bush.code
18 18 0.0% 02-Jan-97 23:44:38 +Dragon.code
89 50 43.8% 02-Jan-97 23:44:38 +Fern.code
73 51 30.1% 02-Jan-97 23:44:38 +Fern2.code
21 21 0.0% 02-Jan-97 23:44:38 +Fir.code
19 19 0.0% 02-Jan-97 23:44:36 +Flake.code
30 29 3.3% 02-Jan-97 23:44:38 +Hilbert.code
26 24 7.6% 02-Jan-97 23:44:38 +Koch.code
50 35 30.0% 02-Jan-97 23:44:38 +Peano.code
64 50 21.8% 02-Jan-97 23:44:38 +Pine.code
37 30 18.9% 02-Jan-97 23:44:38 +Sierpinski3.code
22 22 0.0% 02-Jan-97 23:44:38 +Sierpinski4.code
16 16 0.0% 02-Jan-97 23:44:38 +Stalk.code
40 38 5.0% 02-Jan-97 23:44:38 +Tree.code
27618 1608 94.1% 02-Jan-97 23:44:56 +Dragon12.lfpic
26620 14302 46.2% 06-Jan-97 17:20:36 +LFracs
1510 464 69.2% 02-Jan-97 23:42:38 +LFracs.info
-------- ------- ----- --------- --------
115071 48813 57.5% 13-Jan-97 02:20:14 27 files